<?php
class Check extends CI_Controller {
	function __construct() {
		parent::__construct ();
		$this->load->helper ( 'url' );
		$this->load->model ( 'Muser' );
	}
	
	function index() {
		$id = $this->session->userdata ( 'uid' );
		$data ['uid'] = $id;
		$this->load->model ( 'Mabout' );
		$data ['name'] = $this->session->userdata ( 'uname' );
		$data ['cardAboutList'] = $this->Mabout->getAboutListbyClass ( 'C' );
		$data ['aboutList'] = $this->Mabout->getAboutListbyClass ( 'A' );
		
		$this->load->view ( 'check', $data );
	}
}